 <div id="content1">
        <img class="icon_delete1 close1" data-name="playback" src="__PUBLIC__/home/images/icon_delete1.png"/>
        <div class="slider-paga">
            <a href="javascript:;;" class="slider-pre"><img src="__PUBLIC__/home/images/icon_fy_l.png"/></a>
            <a href="javascript:;;" class="slider-next"><img src="__PUBLIC__/home/images/icon_fy_r.png"/></a>
        </div>
        <div class="slider">
            <ul class="slider-main">
                <?php
                $count = count($result);
                $page = ceil($count/8); //向前进一
                ?>
                <?php for($i = 0;$i < $page; $i++){?>
                <li class="slider-panel pad">
                    <ul >
                        <?php for($j = $i*8 ; $j<= 8; $j++){
                        if(empty($result[$j])){
                            break;
                        }
                        ?>
                            <li><a href="" class="shadow" >
                                <img src="<?php echo $result[$j]['image_path']?>"/></a><img class="img_pic_1" src="__PUBLIC__/home/images/pic1.png"/><p class="pp2"><span></span>&nbsp;&nbsp;<em>0321</em><?php echo $result[$j]['title']?></p>
                            </li>
                        <?php } ?>
                    </ul>
                </li>
                <?php } ?>
            </ul>

            <div class="slider-extra">
                <ul class="slider-nav">
                    <?php for($i=0;$i<$page;$i++){?>
                        <li class="slider-item"></li>
                    <?php }?>
                </ul>

            </div>
        </div>
    </div>